http://gtaxscripting.blogspot.com/2013/12/MinigunVStyle.html


Use the OpenIV Package Installer to install first part.

Add the following lines to GTA folder\common\data\weaponInfo.xml just before line </weaponinfo>

	<weapon type="EPISODIC_24">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="200.0" weaponrange="400.0" clipsize="9999" ammomax="9999" timebetweenshots="30">
			<damage base="25" networkplayermod="1.0" networkpedmod="1.0"/>
			<physics force="150.0"/>
			<reload time="3000" fasttime="3000" crouchtime="3000"/>

			<aiming accuracy="0.9">
				<offset x="0.19" y="0.31" z="-0.27"/>
			</aiming>

			<pickup regentime="0" ammoonstreet="9999"/>

			<controller>
				<rumble duration="60" intensity="0.3"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>2HANDED</flag>
			</flags>
		</data>

		<assets model="minigun_base">
			<anim group="gun@minigun"/>
		</assets>
	</weapon>